export namespace IMetaWarehouse {
  // 查询条件
  export interface Query {
    tenantId?: string
    deptId?: number
    regionId?: number
    common?: boolean
    name?: string
    image?: string
    address?: string
    detailAddress?: string
    location?: string
    longitude?: string
    latitude?: string
    enable?: boolean
    page?: number
    limit?: number
  }

  // 新增表单
  export interface CreateForm {
    tenantId?: string
    deptId?: number
    regionId?: number
    common?: boolean
    name: string
    image?: string
    address?: string
    detailAddress: string
    location?: string
    longitude?: string
    latitude?: string
    enable?: boolean
  }

  // 编辑表单
  export interface UpdateForm {
    id: number
    tenantId?: string
    deptId?: number
    regionId?: number
    common?: boolean
    name: string
    image?: string
    address?: string
    detailAddress: string
    location?: string
    longitude?: string
    latitude?: string
    enable?: boolean
  }

  // 删除参数
  export interface DeleteParams {
    ids: number[]
  }

  // list或detail返回结构
  export interface Row {
    id: number
    tenantId?: string
    deptId?: number
    regionId?: number
    common?: boolean
    name: string
    image?: string
    address?: string
    detailAddress?: string
    location?: string
    longitude?: string
    latitude?: string
    enable?: boolean
    createTime?: string
    updateTime?: string
  }
}
